package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Customer;
import cn.wolfcode.crm.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ICustomerService {

    PageInfo query(QueryObject qo);
    void save(Customer customer);
    void update(Customer customer);
    Customer get(Long id);
    List<Customer> list();

    void updateStatus(Long cid, Integer status);

    List<Customer> queryAllFormalCustomer(Integer statusFormal);
}
